package com.baselibrary;

public class MessageBus {
    private String codeType;
    private boolean succeed;
    private Object message;
    private Object param1;
    private Object param2;
    private Object param3;
    private Object param4;
    private Object param5;
    private Object param6;
    private Object param7;
    private Object param8;

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public Object getParam1() {
        return param1;
    }

    public void setParam1(Object param1) {
        this.param1 = param1;
    }

    public Object getParam2() {
        return param2;
    }

    public void setParam2(Object param2) {
        this.param2 = param2;
    }

    public Object getParam3() {
        return param3;
    }

    public void setParam3(Object param3) {
        this.param3 = param3;
    }

    public Object getParam4() {
        return param4;
    }

    public void setParam4(Object param4) {
        this.param4 = param4;
    }

    public Object getParam5() {
        return param5;
    }

    public void setParam5(Object param5) {
        this.param5 = param5;
    }

    public Object getParam6() {
        return param6;
    }

    public void setParam6(Object param6) {
        this.param6 = param6;
    }

    public Object getParam7() {
        return param7;
    }

    public Object getParam8() {
        return param8;
    }

    public boolean isSucceed() {
        return succeed;
    }

    public void setSucceed(boolean succeed) {
        this.succeed = succeed;
    }

    public MessageBus(String codeType, Object message) {
        this.codeType = codeType;
        this.message = message;
    }

    public MessageBus(String codeType, Object message, String param1) {
        this.codeType = codeType;
        this.message = message;
        this.param1 = param1;
    }

    public MessageBus(String codeType, String param1, String param2) {
        this.codeType = codeType;
        this.param1 = param1;
        this.param2 = param2;
    }

    public MessageBus(String codeType, Object param1, Object param2, Object param3) {
        this.codeType = codeType;
        this.param1 = param1;
        this.param2 = param2;
        this.param3 = param3;
    }

    public MessageBus(String codeType, Object param1, Object param2, Object param3, Object param4) {
        this.codeType = codeType;
        this.param1 = param1;
        this.param2 = param2;
        this.param3 = param3;
        this.param4 = param4;
    }

    public MessageBus(String codeType) {
        this.codeType = codeType;
    }

    public MessageBus(Builder builder) {
        this.codeType = builder.codeType;
        this.succeed = builder.succeed;
        this.message = builder.message;
        this.param1 = builder.param1;
        this.param2 = builder.param2;
        this.param3 = builder.param3;
        this.param4 = builder.param4;
        this.param5 = builder.param5;
        this.param6 = builder.param6;
        this.param7 = builder.param7;
        this.param8 = builder.param8;
    }

    public static class Builder {
        String codeType;
        boolean succeed;
        Object message;
        Object param1;
        Object param2;
        Object param3;
        Object param4;
        Object param5;
        Object param6;
        Object param7;
        Object param8;

        public Builder codeType(String codeType) {
            this.codeType = codeType;
            return this;
        }

        public Builder succeed(boolean succeed) {
            this.succeed = succeed;
            return this;
        }

        public Builder message(Object message) {
            this.message = message;
            return this;
        }

        public Builder param1(Object param1) {
            this.param1 = param1;
            return this;
        }

        public Builder param2(Object param2) {
            this.param2 = param2;
            return this;
        }

        public Builder param3(Object param3) {
            this.param3 = param3;
            return this;
        }

        public Builder param4(Object param4) {
            this.param4 = param4;
            return this;
        }

        public Builder param5(Object param5) {
            this.param5 = param5;
            return this;
        }

        public Builder param6(Object param6) {
            this.param6 = param6;
            return this;
        }

        public Builder param7(Object param7) {
            this.param7 = param7;
            return this;
        }

        public Builder param8(Object param8) {
            this.param8 = param8;
            return this;
        }

        public MessageBus build() {
            return new MessageBus(this);
        }

    }

    //直播间
    /**
     * type_in = 1; //进入直播间
     * type_out = 2; //离开直播间
     * type_connect = 3; //重连
     * type_chat = 4;//发送聊天消息
     * type_zan = 5; //点赞
     * type_gift = 6;//礼物
     */
    public static final String msgId_im_type_in = "1";
    public static final String msgId_im_type_out = "2";
    public static final String msgId_im_type_connect = "3";
    public static final String msgId_im_type_chat = "4";
    public static final String msgId_im_type_zan = "5";
    public static final String msgId_im_type_gift = "6";

    public static final String msgId_searchView = "searchView";

    public static final String msgId_im_message = "IMMessage";

    public static final String msgId_logout = "logout";
    public static final String msgId_login_up = "msgId_login_up";//用户登录
    public static final String msgId_login_onBack = "msgId_login_onBack";//登录界面点击返回
    public static final String msgId_finish_h5_page = "msgId_finish_h5_page";//登录界面点击返回

    public static final String msgid_back_top_refresh = "msgid_back_top_refresh";//点击社区 回到顶部 刷新列表

    public static final String msgid_comment_succ = "msgid_comment_succ";//评论成功，
    public static final String msgid_login_success = "msgid_login_success";//登录成功，
    public static final String msgid_visitor_login_success = "msgid_visitor_login_success";//游客 登录成功，
    public static final String msgid_change_live_subscribe = "msgid_change_live_subscribe";//直播预约状态，
    public static final String msgId_change_dynamic_like_status = "msgId_change_dynamic_like_status";//动态点赞与取消点赞状态变更
    public static final String msgId_change_dynamic_collect_status = "msgId_change_dynamic_collect_status";//动态收藏与取消收藏状态变更
    public static final String msgId_change_update_dynamic_total = "msgId_change_update_dynamic_total";//更新收藏动态数量
    public static final String msgId_change_update_topic_total = "msgId_change_update_topic_total";//更新收藏话题数量
    public static final String msgId_change_update_collect_all = "msgId_change_update_collect_all";//更新全部收藏数量
    public static final String msgId_change_update_collect_single = "msgId_change_update_collect_single";//更新单个收藏数量
    public static final String msgId_go_share_poster = "msgId_go_share_poster";//去发布动态页面
    public static final String msgid_jump_to_detail = "msgid_jump_to_detail";//跳转到详情，
    public static final String msgid_send_comment_success = "msgid_send_comment_success";//发送评论成功，
    public static final String msgid_change_check_pop_window = "msgid_change_check_pop_window";//直播预约状态，
    public static final String msgId_load_dynamic_stream_is_have_data = "msgId_load_dynamic_stream_is_have_data";//加载瀑布流数据，是否有数据，
    public static final String msgId_location_permission_pass = "msgId_location_permission_pass";//定位权限已通过，通知刷新
    public static final String msgId_location_permission_apply = "msgId_location_permission_apply";//申请定位权限
    public static final String msgId_location_permission_refuse = "msgId_location_permission_refuse";//定位权限未通过
    public static final String msgid_location_succ_refresh = "msgid_location_succ_refresh";//定位成功，通知刷新
    public static final String msgid_location_succ_refresh_have_bean = "msgid_location_succ_refresh_have_bean";//定位成功，通知刷新 带 定位对象


    public static final String msgid_read_message = "msgid_read_message";//已读消息，
    public static final String msgId_refresh_friend_state = "msgId_refresh_friend_state";//刷新好友状态，
    public static final String msgid_refresh_chat_list = "msgid_refresh_chat_list";//刷新聊天列表

    public static final String msgid_go_scan = "msgid_go_scan";//去扫码，

    public static final String msgid_always_send_apply_friend = "msgid_always_send_apply_friend";//发送好友申请成功，
    public static final String msgid_modify_user_info_succ = "msgid_modify_user_info_succ";//修改个人信息成功，
    public static final String msgid_publish_dynamic = "msgid_publish_dynamic";
    public static final String msgid_publish_dynamic_type = "msgid_publish_dynamic_type";


    public static final String msgId_scoreMall = "scoreMall";
    public static final String msgId_mei_qia_have_new_msg = "mei_qia_have_new_msg";
    public static final String msgId_hide_meiqia_red_dot = "hide_meiqia_red_dot";

    public static final String msgId_select_search_wincellar = "msgId_select_search_wincellar";
    public static final String msgid_web_back_page = "msgid_web_back_page";//左上角返回（客户端）上一页
    public static final String msgid_hide_top_title = "msgid_hide_top_title";//告知客户端去除顶部
    public static final String msgid_show_top_title = "msgid_show_top_title";//告知客户端显示顶部
    public static final String msgid_is_ban_back_page = "msgid_is_ban_back_page";//告知客户端禁用侧滑返回
    public static final String msgid_h5_apply_camera_permission = "msgid_h5_apply_camera_permission";//h5申请打开摄像头权限
    public static final String msgid_h5_apply_status_bar_dark = "msgid_h5_apply_status_bar_dark";//状态栏字体颜色变黑

    public static final String msgId_showGuide = "showGuide";
    public static final String msgId_back_close = "backClose";
    public static final String DynamicNotice = "DynamicNotice";//发布动态
    public static final String msgid_notify_change_to_follow = "msgid_notify_change_to_follow";//跳到关注页面
    public static final String msgid_notify_start_publish = "msgid_notify_start_publish";//开始发布
    public static final String msgid_notify_re_publish = "msgid_notify_re_publish";//重新发布
    public static final String msgid_notify_close_publish = "msgid_notify_close_publish";//关闭发布
    public static final String msgid_notify_total_status = "msgid_notify_start_transfer";//开始转换文件
    public static final String msgid_notify_error_msg = "msgid_notify_error_msg";//开始转换文件
    public static final String msgid_notify_start_timer = "msgid_notify_start_timer";//开始假进度
    public static final String msgid_notify_stop_timer = "msgid_notify_stop_timer";//结束假进度
    public static final String msgid_notify_total_progress = "msgid_notify_total_progress";//整体进度
    public static final String msgid_notify_publish_success = "msgid_notify_publish_success";//发布动态成功获得酒币
    public static final String msgId_active_receive_succ = "msgId_active_receive_succ";//展示 首页活动banner弹窗 领取成功 刷新网页
    public static final String msgId_remove_video_red_point = "msgId_remove_video_red_point";//移除视频顶部
    public static final String msgId_unread_msg_cnt = "msgId_unread_msg_cnt";//未读消息数量
    public static final String msgId_set_scroll = "msgId_set_scroll";//未读消息数量
    public static final String msgId_refresh_cummunity = "msgId_refresh_cummunity";//刷新首页当前tab页面
    public static final String msgId_refresh_near = "msgId_refresh_near";//刷新酒窖页
    public static final String msgId_refresh_mall = "msgId_refresh_mall";//刷新商城页
    public static final String msgId_refresh_mine = "msgId_refresh_mine";//刷新我的
    /****************************商城**************************************/
    public static final String msgId_del_order = "msgId_del_order";//删除订单
    public static final String mall_selected_mechanism = "mall_selected_mechanism";//选择机构回执
    public static final String msgId_commit_apply_after_succ = "msgId_commit_apply_after_succ";//申请售后成功
    public static final String msgId_good_evaluate_succ = "msgId_good_evaluate_succ";//商品评价成功
    public static final String msgId_good_pay_succ = "msgId_good_pay_succ";//支付成功
    public static final String msgId_confirm_recive_succ = "msgId_confirm_recive_succ";//确认收货成功
    public static final String msgId_cancel_order_succ = "msgId_cancel_order_succ";//取消订单成功
    public static final String msgId_select_jigou = "msgId_select_jigou";//确认订单---更改机构
    public static final String msgId_merge_mechanism = "msgId_merge_mechanism";//购物车合并机构
    public static final String msgId_commit_order_succ = "msgId_commit_order_succ";//提交订单---通知购物车刷新
    public static final String msgId_back_apply_after = "msgId_back_apply_after";//售后订单 撤销成功
    public static final String msgId_pick_up_success = "msgId_pick_up_success";//提货成功
    /****************************商城**************************************/
    /****************************金瓶梅活动**********************************/
    public static final String msgId_finish_pay_mall = "msgId_finish_pay_mall";//关闭选择支付页面  刷新主题页
    public static final String msgid_open_close_reule_pop = "msgid_open_close_reule_pop";//打开|关闭 金鳞瓶活动规则
    public static final String msgid_complate_task_one_refresh = "msgid_complate_task_one_refresh";//完成任务一 通知h5 刷新
    /****************************金瓶梅活动**********************************/

    public static final String msgId_home_alpha = "msgId_home_alpha";
    public static final String msgId_show_share = "msgId_show_share";//获取福袋分享信息


    /************************素材库******************************************/
    public static final String msgId_material_createFolder = "msgId_material_createFolder";//创建文件
    public static final String msgId_material_upFolder = "msgId_material_upFolder";//更改文件名称
    public static final String msgId_material_moveCollection = "msgId_material_moveCollection";//移动收藏/取消收藏/删除【针对tab改变】
    public static final String msgId_material_detCollection = "msgId_material_detCollection";//移动收藏/取消收藏/删除【针对列表改变】
    public static final String msgId_del_material_file = "msgId_del_material_file";//删除下载
    public static final String msgId_refresh_capacity = "msgId_refresh_capacity";//刷新存储容量
    public static final String msgid_start_download = "msgid_start_download";//开始下载
    public static final String msgId_download_complete = "msgId_download_complete";// 下载完成
    public static final String msgid_app_as_background = "msgid_app_as_background";//APP切到后台，暂停下载
    public static final String msgId_collect_or_cancel = "msgId_collect_or_cancel";//详情界面 收藏/取消收藏
    public static final String msgid_tab_refresh = "msgid_tab_refresh";//刷新tab

    /************************个人中心重构******************************************/

    public static final String msgid_switch_community = "msgid_switch_community";//切换到社区
    /************************个人中心重构******************************************/
    public static final String msgid_visitor_login = "msgid_visitor_login";//一键登录---随便逛逛
    public static final String msgid_one_key_login_top_switch = "msgid_one_key_login_top_switch";//一键登录---顶部-切换其他手机号登录
    public static final String msgid_finish_login_page = "msgid_finish_login_page";//关闭登录

    /************************消息重构******************************************/
    public static final String one_key_follow = "one_key_follow";//消息聊天----一键关注
    public static final String msgId_refresh_un_read_msg_cnt = "msgId_refresh_un_read_msg_cnt";//刷新未读消息数量
    public static final String msgId_switch_refresh_list = "msgId_switch_refresh_list";//关注、粉丝、好友。切换刷新列表
    public static final String msgId_follow_and_cancel = "msgId_follow_and_cancel";//关注、取关。操作
    public static final String msgId_share_success = "msgId_share_success";//分享成功
    public static final String msgId_collection_success = "msgId_collection_success";//收藏成功
    public static final String msgId_comment_open = "msgId_comment_open";//打开评论
    public static final String msgid_exit_or_logout = "msgid_exit_or_logout";//退出&注销账号
    public static final String msgId_pul_collection_false = "msgId_pul_collection_false";//讲坛取消收藏
    public static final String msgId_pul_collection_true = "msgId_pul_collection_true";//讲坛添加收藏

    public static final String msgId_article_collection_false = "msgId_article_collection_false";//专栏文章取消收藏

    public static final String msgId_column_collection_false = "msgId_column_collection_false";//专栏取消收藏

    public static final String msgId_pulCourse_collection_false = "msgId_pulCourse_collection_false";//讲坛课程取消收藏
    public static final String msgId_pulCourse_collection_true = "msgId_pulCourse_collection_true";//讲坛课程添加收藏

    public static final String msgId_topic_collection_false = "msgId_topic_collection_false";//话题取消收藏

    public static final String msgId_dynamic_collection_false = "msgId_dynamic_collection_false";//动态取消收藏

    public static final String msgId_wine_meal_like_false = "msgId_wine_meal_like_false";//下酒菜取消点赞
    public static final String msgId_wine_meal_like_true = "msgId_wine_meal_like_true";//下酒菜点赞

    public static final String msgId_wine_meal_collection_time = "msgId_wine_meal_collection_time";//下酒菜收藏时间发生变化
    public static final String msgId_wine_meal_collection_false = "msgId_wine_meal_collection_false";//下酒菜取消收藏
    public static final String msgId_wine_meal_jump_winery = "msgId_wine_meal_jump_winery";//跳转到酒窖

    public static final String msgId_publish_winery_comment_success = "msgId_publish_winery_comment_success";//发布&编辑 酒窖评论 成功
    public static final String msgId_select_img_video_path_list = "msgId_select_img_video_path_list";//选择 图片、视频 返回path list
    public static final String msgid_img_upload_succ_need_delete_temp = "msgid_img_upload_succ_need_delete_temp";//图片上传成功 需要删除临时文件

    /***********************************新零售************************************/
    public static final String msgId_new_add_address_success = "msgId_new_add_address_success";//编辑新增地址成功
    public static final String msgId_select_address_complete = "msgId_select_address_complete";//选择某个地址完成
    public static final String msgId_retail_after_sales_revoke = "msgId_retail_after_sales_revoke";//撤销申请
    public static final String msgId_retail_after_sales_re_apply_success = "msgId_retail_after_sales_re_apply_success";//售后重新申请成功
    public static final String msgId_confirm_receive_success = "msgId_confirm_receive_success";//确认收货成功
    public static final String msgId_refresh_home_goods_list = "msgId_refresh_home_goods_list";//刷新首页商品列表
    public static final String msgId_after_sale_apply_success = "msgId_after_sale_apply_success";//售后申请成功
    public static final String msgId_pay_success = "msgId_pay_success";//支付成功
    public static final String msgId_delete_confirm_order_select_address = "msgId_delete_confirm_order_select_address";//删除确认订单选中的地址
    public static final String msgId_commit_order_success = "msgId_commit_order_success";//提交订单成功
    public static final String msgId_order_cancel_success = "msgId_order_cancel_success";// 订单取消成功
    public static final String msgId_close_order_detail = "msgId_close_order_detail";// 关闭 订单详情页面 通知
    public static final String msgId_refresh_goods_manager = "msgId_refresh_goods_manager";// 商品管理 刷新
    public static final String msgId_refresh_evaluation_number = "msgId_refresh_goods_manager";// 待评价列表刷新数量
    public static final String msgId_refresh_evaluation_number_have = "msgId_refresh_evaluation_number_have";// 已评价列表刷新数量
    public static final String msgId_refresh_evaluation_list = "msgId_refresh_evaluation_list";// 刷新待评价列表和已评价列表
    public static final String msgId_refresh_goods_detail = "msgId_refresh_goods_detail";// 刷新商品详情
    public static final String msgId_clear_search_history = "msgId_clear_search_history";// 删除历史记录
    public static final String msgId_set_search_content = "msgId_set_search_content";// 修改搜索关键字
    public static final String msgId_clear_search_change_fragment = "msgId_clear_search_change_fragment";// 切换fragment
    public static final String msgId_refresh_seckill = "msgId_refresh_seckill";//刷新秒杀专题页
    public static final String msgId_refresh_seckill_complete = "msgId_refresh_seckill_complete";//刷新秒杀专题页结束
    /***********************************领用统计************************************/
    public static final String msgId_refresh_use_statistics = "msgId_refresh_use_statistics";// 领用列表 刷新
    public static final String msgid_use_statistics_apply_confirm = "msgid_use_statistics_apply_confirm";// 领用统计--确认
    public static final String msgId_appyly_success_refresh_list = "msgId_use_statistics_apply_success";// 领用&入库 申请成功 刷新列表
    /***********************************附近酒窖************************************/
    public static final String msgId_near_winery_select_address = "msgId_near_winery_select_address";// 选择地址
    public static final String msgId_search_city_select_city = "msgId_search_city_select_city";// 选择城市-点击选择的城市


    /***********************************入库统计************************************/
    public static final String msgId_going_list_no_data = "msgId_going_list_no_data";// 入库列表暂无记录
    public static final String msgId_channel_visit_replpy_comment = "msgId_channel_visit_replpy_comment";// 渠道-拜访详情-评论列表中对一级进行评论
    public static final String msgId_visit_list_set_read = "msgId_visit_list_set_read";// 渠道-拜访详情评论已读
    public static final String msgId_refresh_visit_comment_num = "msgId_refresh_visit_comment_num";// 渠道-拜访详情刷新评论数量
    public static final String msgid_refresh_draft_list = "msgid_refresh_draft_list";//刷新草稿箱列表
    public static final String msgid_close_draft_list = "msgid_close_draft_list";//关闭草稿列表页
    public static final String msgId_gray_mode = "msgId_gray_mode";//默哀灰色模式
    public static final String msgId_app_style = "msgId_app_style";//节日客户端tab，导航条 样式切换
    public static final String msgId_refresh_seckill_sub_status = "msgId_refresh_seckill_sub_status";//刷新预约、取消预约状态
    public static final String msgId_seckill_once_end = "msgId_seckill_once_end";//酒窖详情 只有一个秒杀商品 结束时， 刷新
    public static final String msgId_wx_miniprogram_pay_success = "msgId_wx_miniprogram_pay_success";//微信小程序支付成功

    /***********************************视频页************************************/
    public static final String msgId_video_page_pause_video_play = "msgId_video_page_pause_video_play";//通知暂停视频播放
    public static final String msgid_video_page_comment_result = "msgid_video_page_comment_result";//视频页评论 后 通知
    public static final String msgId_current_playing_video_page = "msgId_current_playing_video_page";//当前页面是视频页播放
    public static final String msgId_switch_video_page_offset = "msgId_switch_video_page_offset";//切换视频页底部tab渐变
    public static final String msgId_video_page_switch_offset = "msgId_video_page_switch_offset";//视频页 下一个视频 偏移
    public static final String msgId_video_page_refresh = "msgId_video_page_refresh";//视频页 下拉刷新
 }
